import request from '@/utils/request'
export function fetchList(params) {
return request({
url: '/shop/shopStore/list',
method: 'get',
params: params
})
}
export function createShopStore(data) {
return request({
url: '/shop/shopStore/create',
method: 'post',
data: data
})
}

export function deleteShopStore(id) {
return request({
url: '/shop/shopStore/delete/' + id,
method: 'get',
})
}

export function getShopStore(id) {
return request({
url: '/shop/shopStore/' + id,
method: 'get',
})
}

export function updateShopStore(id, data) {
return request({
url: '/shop/shopStore/update/' + id,
method: 'post',
data: data
})
}

